package com.common;

import java.util.List;

import com.model.Message;

public interface IBaseDao<T,PK>{
	public boolean insert(T gb);
	public boolean update(T obj);
	public boolean delete(PK id);
	public T get(PK id);
	public List<T> getAll();
	public List<T> findsql(String sql);
	
}
